Slice method in javascript